package com.csdig.cms.dao;

import java.util.List;

import com.csdig.db.model.Pagination;
import com.csdig.cms.model.ContentCollect;


public interface ContentCollectDAO {

    public void add(ContentCollect vo) throws Exception;

    public void update(ContentCollect vo) throws Exception;

	public void delete(java.lang.Integer id) throws Exception;

    public ContentCollect findById(java.lang.Integer id) throws Exception;

    public List<ContentCollect> listAll() throws Exception;

    public Pagination<ContentCollect> findByCondition(ContentCollect vo, int pageNo, int pageSize)throws Exception;
    
    public List<ContentCollect> findByCondition(ContentCollect bean)throws Exception;

	public ContentCollect findbyUrl(String url)throws Exception;
    
	
	public List<ContentCollect> findByCondition(String[] fields,Object[] values,String orderby)throws Exception;
	
}
